﻿<%@ Page Language="C#" MasterPageFile="~/Pagebase/PageEdit.Master" AutoEventWireup="true" CodeBehind="S_compEdit.aspx.cs" Inherits="webnew.Systems.S_compEdit" Title="无标题页" %>

<%@ Register src="../UserControls/UcCompType.ascx" tagname="UcCompType" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <div id = "EditContentbox">

    <fieldset class ="EditBox" runat ="server">
    <table id ="EditTbl" cellpadding='2' cellspacing='1'>
        <tr>
            <td class="td1">
                单位级别：</td>
            <td class="td2">
                
                <asp:DropDownList ID="ddlCompLevel" runat="server" AutoPostBack="True" 
                    onselectedindexchanged="ddlCompLevel_SelectedIndexChanged">
               
                </asp:DropDownList>
                            </td>
        </tr>
        <asp:Panel ID="pnlParentId" runat="server" Visible="false">       
        <tr>
                <td class ="td1">
                    对应父级：</td>
                <td class="td2">
                    <asp:DropDownList ID="ddlParentID" runat="server" >
                    </asp:DropDownList>
              </td>
        </tr>
       </asp:Panel>
        
        <tr>
            <td class="td1">
                序号：</td>
            <td class="td2">
                <asp:TextBox ID="txtSort" runat="server" CssClass="txt"></asp:TextBox>
                            </td>
        </tr>
        
        <tr>
            <td class="td1" >
                单位名称：</td>
            <td class="td2">
                <asp:TextBox ID="txtCompName" runat="server" CssClass="txt"></asp:TextBox>
                            </td>
        </tr>
        <tr>
            <td class="td1">
                单位简称：</td>
            <td class="td2">
                <asp:TextBox ID="txtCompAbb" runat="server" CssClass="txt"></asp:TextBox>
                            </td>
        </tr>
        <tr>
            <td class="td1">
                ERP代码：</td>
            <td class="td2">
                <asp:TextBox ID="txtERPCode" runat="server" CssClass="txt"></asp:TextBox>
                            </td>
        </tr>

        <tr>
            <td class="td1">
                物理代码：</td>
            <td class="td2">
                <asp:TextBox ID="txtcomptype" runat="server" CssClass="txt"></asp:TextBox>
                            </td>
        </tr>

        <tr><td class="td1">状态：</td><td class="td2">
                <asp:DropDownList ID="ddlisdel" runat="server" CssClass="ddl">
                    <asp:ListItem Value="0">启用</asp:ListItem><asp:ListItem Value="2">停用</asp:ListItem></asp:DropDownList></td></tr><tr>
            <td class="td1">
                 
                备注：</td><td class="td2">
                <asp:TextBox ID="txtRemark" runat="server" CssClass="txt" TextMode="MultiLine" 
                    Height="90px" Width="350px"></asp:TextBox></td></tr></table></fieldset>
  </div>
</asp:Content>
